package com.sdau.repairmaster.logic.model;

public class RepairInfo {
    private int id;
    private String name;
    private String describe;
    private String address;
    private String type;
    private String phone;
    private String path;
    private int flag;
    private String time;

    private String content;//评论
    private int star;//星级


    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content 要设置的 content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return star
     */
    public int getStar() {
        return star;
    }

    /**
     * @param star 要设置的 star
     */
    public void setStar(int star) {
        this.star = star;
    }

    public RepairInfo() {

    }

    public RepairInfo(int id,String name, String describe, String address, String type, String phone, String path,String time) {
        super();
        this.id = id;
        this.name = name;
        this.describe = describe;
        this.address = address;
        this.type = type;
        this.phone = phone;
        this.path = path;
        this.time = time;
    }
    public RepairInfo(int id,String name, String describe, String address, String type, String phone, String path,int flag,String time) {
        super();
        this.id = id;
        this.name = name;
        this.describe = describe;
        this.address = address;
        this.type = type;
        this.phone = phone;
        this.path = path;
        this.time = time;
    }

    public RepairInfo(String name, String describe, String address, String type, String phone, String path,String time) {
        super();
        this.name = name;
        this.describe = describe;
        this.address = address;
        this.type = type;
        this.phone = phone;
        this.path = path;
        this.flag = flag;
        this.time = time;
    }



    /**
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * @param time 要设置的 time
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id 要设置的 id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name 要设置的 name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return describe
     */
    public String getDescribe() {
        return describe;
    }

    /**
     * @param describe 要设置的 describe
     */
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    /**
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address 要设置的 address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type 要设置的 type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone 要设置的 phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path 要设置的 path
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return flag
     */
    public int getFlag() {
        return flag;
    }

    /**
     * @param flag 要设置的 flag
     */
    public void setFlag(int flag) {
        this.flag = flag;
    }

    /*
     * Title: toString
     *Description:
     * @return
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "RepairInfo [id=" + id + ", name=" + name + ", describe=" + describe + ", address=" + address + ", type="
                + type + ", phone=" + phone + ", path=" + path + ", flag=" + flag + ", time=" + time + ", content="
                + content + ", star=" + star + "]";
    }
}